import random


def chooseAPass(dic):
    return random.choice(dic)


def genMobileNum():
    mobilePrefix = [
        "130",
        "131",
        "132",
        "133",
        "134",
        "135",
        "136",
        "137",
        "138",
        "139",
        "150",
        "151",
        "152",
        "153",
        "156",
        "157",
        "158",
        "159",
        "170",
        "171",
        "172",
        "173",
        "177",
        "178",
        "180",
        "181",
        "182",
        "183",
        "187",
        "188",
        "189",
    ]
    mobileSubfix = str(random.randint(10000000, 99999999))
    return random.choice(mobilePrefix) + mobileSubfix


def genQQmail():
    qqNum = str(random.randint(10000000, 999999999))
    return qqNum + "@qq.com"


def randomDC():
    DCList = ["陆行鸟", "莫古力", "猫小胖"]
    return random.choice(DCList)


def randomServer():
    serverList = [
        "紫水栈桥",
        "摩杜纳",
        "幻影群岛",
        "拉诺西亚",
        "静语庄园",
        "白银乡",
        "神拳痕",
        "白金幻象",
        "神意之地",
        "萌芽池",
        "海猫茶屋",
    ]
    return random.choice(serverList)
